package org.kongqian.finance.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.kongqian.basic.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author kq
 * @since 2022-10-26
 */
public class Receivables extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private Long contractId;
    private Long customerId;
    private String customerName;
    private Long productId;
    private String productName;
    private BigDecimal price;
    /**
     * 全款 分期期数 从数据字典查询
     */
    private Long paymentMethodId;
    private Date createTime;
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getPaymentMethodId() {
        return paymentMethodId;
    }

    public void setPaymentMethodId(Long paymentMethodId) {
        this.paymentMethodId = paymentMethodId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Receivables{" +
        ", id=" + id +
        ", contractId=" + contractId +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", productId=" + productId +
        ", productName=" + productName +
        ", price=" + price +
        ", paymentMethodId=" + paymentMethodId +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
